﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class Entity
    {
        public long ID { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }
    }

    public class EntityView : Entity
    {
        public bool Selected { get; set; }
        public string CategoryList { get; set; }
        public string KeyList { get; set; }
        public byte[] BinaryContent { get; set; }
    }

    public class EntityCategoryKeyView
    {
        public Entity EntityItem { get; set; }
        public Key KeyItem { get; set; }
        public Category CategoryItem { get; set; }
    }
}
